package com.learning.mybatis.mapper.select;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Repository;

/**
 * ClassName: MybatisMapperSelectApplication
 * Description: Mybatis映射器：Select元素
 * <p>
 * 1. MyBatis 的基本原则之一是：在每个插入、更新或删除操作之间，通常会执行多个查询操作。因此，MyBatis 在查询和结果映射做了相当多的改进。一个简单查询的 select 元素是非常简单的。
 *
 * <p>
 * Date: 2020/7/22 9:48 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@MapperScan(value = MybatisMapperSelectApplication.BASE_PACKAGE, annotationClass = Repository.class)
@SpringBootApplication
public class MybatisMapperSelectApplication {

    static final String BASE_PACKAGE = "com.learning.mybatis.mapper.select";

    public static void main(String[] args) {
        SpringApplication.run(MybatisMapperSelectApplication.class, args);
    }

}
